import 'server-only';
// 强制让下面代码只能在服务端用
import { experimental_taintUniqueValue } from 'react';
// import 'client-only'

export function getUserData() {
  const data = {
    key: 'abc_123', // 隐私数据
  };
  experimental_taintUniqueValue('Do not pass the key to the client', data, data.key);
  return data;
}
